package com.flitsneak.designpatterns.structuralpatterns.proxy.staticproxy;

import com.flitsneak.designpatterns.structuralpatterns.proxy.staticproxy.proxy.FeiFeiProxy;
import com.flitsneak.designpatterns.structuralpatterns.proxy.staticproxy.subject.MissDuan;

/**
 * @author flitsneak
 * @email flitsneak@gmail.com
 * @date 2022/7/6 13:52
 * @description
 */
public class FeiFei {
    public static void main(String[] args) {
        MissDuan missDuan = new MissDuan();
        FeiFeiProxy feiFeiProxy = new FeiFeiProxy(missDuan);
        feiFeiProxy.buyFruits();
    }
}
